package com.own.component.common.login.util;

import com.own.component.autoconfig.property.security.SecurityProperties;
import com.own.component.common.login.parent.ParentAuthenticationLoginUser;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.DependsOn;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;
import javax.annotation.Resource;

/**
 * ParentGetUtil
 *
 * @author chenxueli
 * @date 2023-08-10 16:31:49
 */
@Slf4j
@Component
@DependsOn("parentAuthenticationLoginUser")
public class ParentGetUtil {

    public static ParentGetUtil INSTANCE;

    @Resource
    public ParentAuthenticationLoginUser parentAuthenticationLoginUser;
    @Resource
    public SecurityProperties securityProperties;

    @PostConstruct
    public void init() {
        INSTANCE = this;
    }

}
